package ua.com.alus.resvac.crm.util.search;

/**
 * Class that encapsulate search parameters
 */
public class Search {

    public enum Type {
        RESUME, VACANCY
    }

    private String position;
    private Integer regionId;
    private Type searchType;

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Type getSearchType() {
        return searchType;
    }

    public void setSearchType(Type searchType) {
        this.searchType = searchType;
    }
}
